<!doctype html>
<script>
  window.addEventListener('storage', event => {
    alert("iframe.html: onstorage");
  });
</script>
<button onclick="sessionStorage.setItem('now', new Date())">sessionStorage.setItem</button>
</body>
</html>
